#include "BaseException.h"

BaseException::BaseException(std::string message, int code) throw()
:m_Message(message),m_Code(code),std::exception()
{

}

BaseException::~BaseException() throw()
{

}

const char* BaseException::what() const throw()
{
	return m_Message.c_str();
}

int BaseException::getCode() const
{
	return m_Code;
}
